home *** CD-ROM | disk | FTP | other *** search
/ Champak 128 / Vol 128 (Damaged).iso / games / hello_ki.swf / scripts / DefineSprite_66 / frame_3 / DoAction.as
Encoding:
Text File  |  2011-03-26  |  386 b   |  23 lines

  1. if(CardCount < 25)
  2. {
  3.    if(CardCount < 10)
  4.    {
  5.       CardTarget = "_parent.Card0" add CardCount add ".CardMotion";
  6.    }
  7.    else
  8.    {
  9.       CardTarget = "_parent.Card" add CardCount add ".CardMotion";
  10.    }
  11.    tellTarget(CardTarget)
  12.    {
  13.       gotoAndStop("CardFadeIn");
  14.       play();
  15.    }
  16.    CardCount++;
  17. }
  18. else
  19. {
  20.    gotoAndStop("TurnCardsComplete");
  21.    play();
  22. }
  23.